<?php
/* @var $this ProController */
/* @var $model Pro */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'pro-form',
	'enableAjaxValidation'=>false,
    'htmlOptions'=>array('enctype'=>'multipart/form-data'),
)); ?>
    


	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'titulo'); ?>
		<?php echo $form->textField($model,'titulo',array('size'=>60,'maxlength'=>145)); ?>
		<?php echo $form->error($model,'titulo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'detalhe'); ?>
		<?php echo $form->textField($model,'detalhe',array('size'=>60,'maxlength'=>545)); ?>
		<?php echo $form->error($model,'detalhe'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'img'); ?>
                <?php echo $form->fileField($model,'img',array('size'=>60,'maxlength'=>200)); ?>
                <?php echo $form->error($model,'img'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'linha'); ?>
		<?php echo $form->textField($model,'linha',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'linha'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cabelo'); ?>
		<?php echo $form->textField($model,'cabelo',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'cabelo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'estetica'); ?>
		<?php echo $form->textField($model,'estetica',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'estetica'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'kit'); ?>
		<?php echo $form->textField($model,'kit',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'kit'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->